{# One connection in the drawer: what it is, and its timeline of opens, drops and reconnects. #} {% from "components/macros/layout.html" import badge, card, dialog_title, facts as fact_list %}
{{ dialog_title(record.path) }}
{{ badge(kind.label, kind.tone) }}{{ badge(state.label, state.tone) }}
{% call card("Details") %}{{ fact_list(facts) }}{% endcall %} {% call card("Timeline", (timeline|length) ~ " events") %}
    {% for step in timeline %}
  1. {{ step.when }} {{ step.what }} {% if step.detail %}{{ step.detail }}{% endif %}
  2. {% endfor %}
{% endcall %}